package com.csap.framework.oauth2.server.model;
import com.csap.framework.annotation.apidoc.Description;
import lombok.Data;
import lombok.AllArgsConstructor;
import com.csap.framework.annotation.apidoc.ApiModelProperty;
import com.csap.framework.oauth2.server.entity.ClientRolesEntity;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.Builder;
import com.csap.mybatisplus.extension.activerecord.CloneModel;
import lombok.experimental.Accessors;
import com.csap.framework.annotation.apidoc.ApiModel;
/**
 * <p>
 * 用户的角色
 * </p>
 *
 * @author yangchengfu
 * @dateTime 2021-07-25 23:51:30
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "用户的角色", value = "clientRoles对象")
@Description(value = "用户的角色Model")
public class ClientRolesModel extends CloneModel<ClientRolesModel, ClientRolesEntity> {
    @ApiModelProperty(description = "主键", value = "主键")
    private Long id;
    @ApiModelProperty(description = "角色ID", value = "角色ID")
    private Long roleId;
    @ApiModelProperty(description = "客户端ID", value = "客户端ID")
    private Long clientId;

}
